package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;

import java.util.List;
@Data
@TableName(value = "TDJJC100")
public class AbutmentProductionEntity {
    /**
     * 物料编码
     */
    @Column(name = "物料编码")
    @TableField(value = "物料编码")
    private String materialNo;

    /**
     * 物料名称
     */
    @Column(name = "物料名称")
    @TableField(value = "物料名称")
    private String name;

    /**
     * 英文名称
     */
    @Column(name = "英文名称")
    @TableField(value = "英文名称")
    private String nameEn;

    /**
     * 物料描述
     */
    @Column(name = "物料描述")
    @TableField(value = "物料描述")
    private String productionDescription;

    /**
     * 材料牌号
     */
    @Column(name = "材料牌号")
    @TableField(value = "材料牌号")
    private String materialGrade;

    /**
     * 物料型号
     */
    @Column(name = "物料型号")
    @TableField(value = "物料型号")
    private String productionNum;

    /**
     * 物料单重
     */
    @Column(name = "物料单重")
    @TableField(value = "物料单重")
    private Double productionHeavy;

    /**
     * 公司图号
     */
    @Column(name = "公司图号")
    @TableField(value = "公司图号")
    private String figureNo;

    /**
     * 产品层次
     */
    @Column(name = "产品层次")
    @TableField(value = "产品层次")
    private String productHierarchy;

    /**
     * 产品大类
     */
    @Column(name = "产品大类")
    @TableField(value = "产品大类")
    private String largeType;

    /**
     * 产品中类
     */
    @Column(name = "产品中类")
    @TableField(value = "产品中类")
    private String middleType;

    /**
     * 产品小类
     */
    @Column(name = "产品小类")
    @TableField(value = "产品小类")
    private String smallType;

    /**
     * 物料价格
     */
    @Column(name = "物料价格")
    @TableField(value = "物料价格")
    private Double price;

    /**
     * 关联的工艺工序
     */
    @TableField(select = false)
    private List<AbutmentProcessCraftEntity> connectProcessCrafts;

    /**
     * 关联的产品物料
     */
    @TableField(select = false)
    private List<AbutmentProductionBomEntity> connectProductionBom;
}
